package com.qymerge.manage.core.enums;

/**
 * Desc
 * User cong.li
 * Date 2017/4/4
 * Time 22:33
 */
public enum ErrorCodeTypes {

    Error(0, "系统异常"),
    MethodNotSupport(1, "请求方法不匹配"),
    CoundNotReadJson(2, "通用参数格式错误");

    ErrorCodeTypes() {

    }

    ErrorCodeTypes(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    //类型ID
    private Integer id;
    //类型名称
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
